<?php
	
class Zend_View_Helper_LoadStyles
{
    public function loadStyles($baseUrl,$module,$controllerName, $actionName,$theme_id)
    {
        $rootUrl		= str_replace('root','',$baseUrl);

        $strLoader		= '';
        switch ($controllerName)
        {
            case 'index' :
            {
                if($module == 'public')
                    $strLoader .= "<link rel='stylesheet' type='text/css' href='$baseUrl/public/media/css/public.css'></link>\n";
                else
                    $strLoader .= "<link rel='stylesheet' type='text/css' href='$baseUrl/public/media/css/admin.css'></link>\n";
                break;
            }
            case 'auth'  :
            {
                $strLoader .= "<link rel='stylesheet' type='text/css' href='$baseUrl/public/media/css/admin.css'></link>\n";
                break;
            }
            default :
            {
                $strLoader .= "<link rel='stylesheet' type='text/css' href='$baseUrl/public/media/css/admin.css'></link>\n";
                $strLoader .= "<link rel='stylesheet' type='text/css' href='$baseUrl/public/media/css/main.css'></link>\n";
                break;
            }

        }

        echo $strLoader;

    }
}
